package tds.model8.version1;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName Pursuiter
 * @Description TODO（追求者。被代理类)
 * @author tds
 * @Date 2019/2/20 11:18
 * @version 1.0.0
 */
public class Pursuiter implements GiveGift {
    private SchoolGirl mm;

    public Pursuiter(SchoolGirl mm) {
        this.mm = mm;
    }

    @Override
    public void giveDoll() {
        System.out.println(mm.getName() + "送你洋娃娃");
    }

    @Override
    public void giveFlower() {
        System.out.println(mm.getName() + "送你花");
    }

    @Override
    public void giveChocolate() {
        System.out.println(mm.getName() + "送你巧克力");
    }
}
